package com.example.service;

import java.util.List;
import java.util.Map;

import com.example.entity.Advertisement;

/**
 * Created by douyx on 2018/03/26.
 */
public interface AdvertisementService {

	public Map<String, Object> query(Map map);

	public Map<String, Object> queryAll();

	public Map<String, Object> add(Advertisement advertisement);

	public Map<String, Object> delete(List<String> ids);

	public Map<String,Object> upDate(Advertisement advertisement);

	public Map<String,Object> queryById(Advertisement advertisement);
}
